Test of the Number Question

Survey Deadline:
Date Created:
0 29

About


It is easiest to test all of the different question types separately when trying to finish the create survey / upload survey response functionality, so that is what I am doing here.


Number Question


  • User can respond to the survey question with a number, using an <input type="number" /> input.
  • The survey creator can specify a min number, max number, or both. They can also specify the step for the input.
  • The survey results should be shown as a histogram with a slider to control bin size.
    • For these questions that show the result as a histogram, there should also be a <textarea/> where users can ask questions that will be answered using text to sql.

Questions

How many hours do you typically sleep each night?

Sleep

Maximum: 12

Step: 1

If you read, how many books did you read in the last year?

Books

Minimum: 1

Maximum: 104

Step: 1

What is your favorite number that is not an integer?

Minimum: 0.01

Step: 0.01

How much do you weigh, to the tenths place?

Minimum: 65

Maximum: 900

Step: 0.1